<h1>用户登录</h1>

<%= form_tag sessions_path, method: "post" do %>
  <div class="form-group">
    <input type="text" name="username" placeholder="用户名..." class="form-username form-control" id="form_username" title="用户名6-12个字符">
  </div>
  <div class="form-group">
    <input type="password" name="password" placeholder="密码..." class="form-password form-control" id="form_password">
  </div>
  <input type="submit" class="btn btn-primary" value="登录" />
<% end %>